<div class="header-container">
  <h5 class="mat-subheader">{{name}}</h5>
  <div class="full">
    <button mat-icon-button (click)="openCreateTaskDialog($event)">
      <mat-icon>add_circle_outline</mat-icon>
      <span>新建</span>
    </button>
  </div>
  <div>
    <button mat-button [matMenuTriggerFor]="menu">
      <mat-icon>settings</mat-icon>
    </button>
  </div>
</div>
<mat-menu #menu="matMenu">
  <button mat-menu-item>
    <mat-icon>mode_edit</mat-icon>
    <span>编辑项目名称</span>
  </button>
  <button mat-menu-item (click)="onMoveClick($event)">
    <mat-icon>move</mat-icon>
    <span>移动所有任务</span>
  </button>
  <button mat-menu-item (click)="onDelBtnClick($event)">
    <mat-icon>delete_forever</mat-icon>
    <span>删除项目</span>
  </button>
</mat-menu>
